const config = {
  'development': {
    'memberService': {'url': 'http://10.252.12.103:7011'},
    'userService': {'url': 'http://10.252.12.212:7032'},
    'ossService': {'url': 'http://10.252.12.5:7015'},
    'appcommonService': {'url': 'http://10.252.12.5:8081/common'},
    'tradingService': {'url': 'http://10.252.12.114:7024'},
    'weChat': {
      'accessToken': 'https://api.weixin.qq.com/sns/oauth2/access_token?',
      'appID': 'wx2599e1d77e06e184',
      'appSecret': '33a66a8bf56386d607d92a7b941c5d42',
      'token': 'hryWeChat'
    }
  },
  'c1staging': {
    'memberService': {'url': 'http://10.251.12.103:7011'},
    'userService': {'url': 'http://10.251.12.212:7032'},
    'ossService': {'url': 'http://10.251.12.5:7015'},
    'appcommonService': {'url': 'http://10.251.12.5:8081/common'},
    'tradingService': {'url': 'http://10.251.12.114:7024'},
    'weChat': {
      'accessToken': 'https://api.weixin.qq.com/sns/oauth2/access_token?',
      'appID': 'wxb1ff931eca1b8795',
      'appSecret': '64f83b47faa351f5ebb08567bb3f5eb1',
      'token': 'hryWeChat'
    }
  },
  'c2staging': {
    'memberService': {'url': 'http://10.252.12.103:7011'},
    'userService': {'url': 'http://10.252.12.212:7032'},
    'ossService': {'url': 'http://10.252.12.5:7015'},
    'appcommonService': {'url': 'http://10.252.12.5:8081/common'},
    'tradingService': {'url': 'http://10.252.12.114:7024'},
    'weChat': {
      'accessToken': 'https://api.weixin.qq.com/sns/oauth2/access_token?',
      'appID': 'wxb1ff931eca1b8795',
      'appSecret': '64f83b47faa351f5ebb08567bb3f5eb1',
      'token': 'hryWeChat'
    }
  },
  'production': {
    'memberService': {'url': 'http://membercxf.hairongyi.com:7011'},
    'userService': {'url': 'http://user-cxf.hairongyi.local:7032'},
    'ossService': {'url': 'http://osscxf.hairongyi.com:7015'},
    'appcommonService': {'url': 'http://common.hairongyi.local/common'},
    'tradingService': {'url': 'http://hrytrading.hairongyi.com:7024'},
    'weChat': {
      'accessToken': 'https://api.weixin.qq.com/sns/oauth2/access_token?',
      'appID': 'wx9fe1e39ed660e052',
      'appSecret': 'a805eff09ba73556123ca48417a16a97',
      'token': 'hryWeChat'
    }
  }
}
console.log('config.js----->' + process.env.nodeEnv)
console.log(process.env.NODE_ENV)
const ex = config[process.env.nodeEnv ? process.env.nodeEnv : process.env.NODE_ENV]
module.exports = ex
